package com.supermarket.api.bean.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 商品细则
 * @author 李其伟
 * @date 2023/11/11
 */
@ApiModel("商品细则")
@Data
public class ProductItem{

    @ApiModelProperty("商品货号")
    private String sku;

    @ApiModelProperty("商品规格")
    private String skuCode;

    @ApiModelProperty("店铺主键")
    private Long shopId;

    @ApiModelProperty("商品标题")
    private String title;

    @ApiModelProperty("商品副标题")
    private String subTitle;

    @ApiModelProperty("商品图片")
    private String pic;

    @ApiModelProperty("商品价格")
    private BigDecimal price;

    @ApiModelProperty("商品数量")
    private Integer number;

    @ApiModelProperty("商品销售属性，json格式")
    private String spData;

    @ApiModelProperty("订单备注")
    private String orderNote;
}
